package edu.hrbu.spring.service.impl;

import edu.hrbu.spring.service.OrderService;
import org.springframework.stereotype.Service;

/**
 * @author 徐登宇
 */
@Service // 交给Spring管理的Bean
public class OrderServiceImpl implements OrderService {
    @Override
    public boolean generate() {
        System.out.println("【OrderServiceImpl】的generate方法");
//        int i = 1/0;
        return true;
    }
}
